javawritelargefile
UseFileChanneltowritelargerfiles.ItisthepreferredwayofwritingfilesinJava8aswell.HappyLearning!!,Ihavetowritehugedataintext[csv]file.IusedBufferedWritertowritethedataandittookaround40secstowrite174mbofdata.Isthisthefastest ...,TryusingInputStreamReaderandFileInputStreamtoreadandthenstorethedatainachar,thenjustwritethatcharusingaFileOutputStream.,Forsimplewrites→UseBufferedWriterorFiles.write()....
glogg 1.1.4 記錄檔檢視專用工具,LOG 檔案太大都不怕
應該不少人會有機會接觸到系統或是程式的Log紀錄檔案,有些記錄檔都是以GB單位來計算,就算在Linux上用vim去編輯都會很卡,一般文字編輯器根本無法一次開啟那麼大的log檔案,這時候請交給專業的glogg記錄檔工具...